  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0b7a272;
    background-image: radial-gradient(closest-side, #e8b0b4, rgba(235, 105, 78, 0)), radial-gradient(closest-side, rgba(233, 135, 96, 0.586), rgba(243, 11, 164, 0)), radial-gradient(closest-side, rgb(243, 219, 166), rgba(254, 234, 131, 0)), radial-gradient(closest-side, rgba(240, 217, 178, 0.764), rgba(170, 142, 245, 0)), radial-gradient(closest-side, rgb(247, 197, 157), rgba(248, 192, 147, 0));
    background-size: 130vmax 130vmax, 80vmax 80vmax, 90vmax 90vmax, 110vmax 110vmax, 90vmax 90vmax;
    background-position: -80vmax -80vmax, 60vmax -30vmax, 10vmax 10vmax, -30vmax -10vmax, 50vmax 50vmax;
    background-repeat: no-repeat;
  }

  
  .container {
    width: 850px;
    height: 550px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(179, 128, 120, 0.942);
    position: relative;
    margin:20px;
    overflow:hidden;
  }

  .container.active .top-box::before {
    left: 50%;
  }

  .form-box{
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 40px;
    z-index: 1;
    transition: 0.6s ease-in-out 1.2s, visibility 0 1;  
  }

  .container.active .form-box{
    right:50%;
  }

  .form-box.register {
    visibility: hidden;
  }

  .container.active .form-box.register {
    visibility: visible;
  }

  .form-box form{
    width:100%;
  }

  .container .form-box h1{
    font-size: 40px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
  }
  
  .input-box {
    position: relative;
    margin: 15px 0;
  }

  .input-box input {
      width: 100%;
      height:50px;
      padding: 20px;
      background-color: #eee;
      border: none;
      outline: none;
      letter-spacing: 2px;
      font-size: 19px;
      border-radius: 8px;
      color: #333;      
  }

  .input-box .user{
    background-image: url('/static/img/user.png'); 
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 24px 24px; 
  }

  .input-box .password {
    background-image: url('/static/img/password.png');
    background-position: right 20px center; 
    background-repeat: no-repeat;
    background-size: 22px 22px; 
  }

  .input-box .phone{
    background-image: url('/static/img/phone.png'); 
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 22px 22px; 
  }

  .input-box .code {
    background-image: url('/static/img/code.png');
    background-position: right 16px center; 
    background-repeat: no-repeat;
    background-size: 30px 30px; 
    
}

  .input-box input::placeholder {
      color: #888;
      font-weight: 400;
  }
  
 .form-box .btn {
    text-align: center;
    width: 100%;
    height: 55px;
    border-radius: 15px;
    font-size: 25px;
    color: #fff;
    background-color: rgb(230, 154, 142);
    border: 0;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
    font-weight: bold;
  }

  .form-box .btn:hover {
    background-color: rgba(234, 146, 126, 0.62);
  }

  .form-box .or{
    color:#888;
    font-size: 15px;
    margin:0 0;
  }

  .other {
    display: flex;
    justify-content: center;
    margin: 10px 0;
  }
  .qq {
    margin-right: 10px;
  }
  .webchat {
    margin-left: 10px;
  }
  .other-items {
    color:#333;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1.5px solid #d8d8d8;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    box-sizing: border-box;
    transition: 0.3s;
    cursor: pointer;
  }
  .other-items img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
  }
  .other-items:hover {
    border:none;
    background-color:rgba(234, 146, 126, 0.342);
  }

  .tips {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .tips span:last-child {
    color: rgba(230, 123, 107, 0.942);
    cursor: pointer;
    transition: 0.3s;
  }
  .tips span:last-child:hover {
    color: rgb(214, 112, 88);
    font-size: 20px;

  }

  .top-box{
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .top-box::before{
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background-color: rgb(245, 175, 159);
    z-index: 2;
    border-radius: 150px;
    transition: 1.8s ease-in-out;

  
  }

  .top-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    color: #fff;
    font-size: 25px;
    display: flex;
    flex-direction: column; 
    z-index: 2;
    transition: 0.6s ease-in-out;
    
  }

  .top-panel.top-left {
    left: 0;
    transition-delay: 1.2s;

  }

  .container.active .top-panel.top-left {
      left: -100%;
      transition-delay: 0.6s;
  }
  

  .top-panel.top-right {
      right: -150%;
      transition-delay: 0.6s;
  }

  .container.active .top-panel.top-right {
      right: 0;
      transition-delay: 1.2s;
  }
  .container .top-left .top-tip1{
    margin-top: 30px;
    margin-left: 25px;
    font-size: 20px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
    z-index: 3;
  }

  .container .top-left .top-tip2{
    margin-top: 7px;
    margin-left: 25px;
    font-size: 21px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
    z-index: 3;
  }

  .container .top-right .top-tip1{
    position: absolute;
    text-align: right; 
    top: 1px;
    right: -1240px;
    font-size: 20px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
    z-index: 10;
  }

  .container .top-right .top-tip2{
    position: absolute;
    text-align: right; 
    top: 55px;
    right: -1244px;
    font-size: 21px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
    z-index: 3;
  }
  
  .container .top-box .top-left .hi1 {
    position:absolute;
    max-width: 107%;    /* 图片的最大宽度为 div 宽度 */
    max-height: 100%;   /* 图片的最大高度为 div 高度 */
    width: auto;        /* 宽度自动调整以保持比例 */
    bottom:20px;
    z-index: 3;
  }

  .container .top-box .top-right .hi2 {
    position:absolute;
    width: 210%;
    left:1046px;
    bottom:20px;
    z-index: 3;
  }